import { randomRangeId } from "@/utils/commonUtils"
import { loginMockData } from "./loginTestData"
let isProd = import.meta.env.MODE == 'prod' ? true : false
let loginData = {
    loginTestSwitch: isProd ? false : true, //是否免输入登录
    pai_token: isProd ? '' : `pai_token_${randomRangeId(11)}`,
    pai_refresh_token: isProd ? '' : `pai_refresh_token_${randomRangeId(11)}`,
    user_deptName: isProd ? '' : loginMockData.deptName,
    user_realityName: isProd ? '' : loginMockData.realityName,
}
export default loginData;